Space matters: Quantifying ecosystem-mediated externalities