partial tree reorder speed up moving only nodes to the right of the first difference