Tree adaptation