Adjusts tree parameters.