Second step TreeMaxHeight