finish the tree.