Handle underflow in merge_path.
Some renames in stable_sort_each.