A theoretical consideration of extensions of the Z-plasty principle