Almost full functionality of merging nodes - more to add the situation
when the user tries to merge two nodes from two different inner
boundaries.