Stitch transformation