I would like to split and merge outer wire of the surface.
E.g. when we will have surface with square outer wire,
after the splitting we will have square outer wire,
but with 5 edges.
For merging this will be opposite process. From 5 edges to 4.
Would you help me how to solve this two problems?