Fixed stitchComplexPath()