center the tree