fix tree height