set treeheight limit