add function of adjusting tree scale