Correct processing cases where a group of faces lies on U-periodic and V-periodic (torus-like) surface. Add comments according to the remarks
Modify unification of faces: add splitting new wire into several ones.