adjusted tree height and position