depth of a tree