added the right to left merge path