Adaptation and flexible agroforestry systems