Gravar-mail: The stability of multitrophic communities under habitat loss