treeHeight undefined