Ecosystem size reverses the effect of the spatial coupling between autotrophic and heterotrophic ecosystems