max depth of a tree.