Fixed the x-coordinate of the nodes after merge
Fixed the x-coordinate of the nodes after merge

After merging two nodes, the new transition should be placed next to the
rightmost node which was used in the merge.

Bram28/LEGUP,Bram28/LEGUP,Bram28/LEGUP