Re-arranged the tree