maximum depth of tree