Merge functionality now includes all the constraints associated to the elements.

- It does not work with external geometry. I need user input for that.