Make a util to reroot trees.