Partitioning ecosystems for sustainability.