The more diverse an ecosystem is-