100 lines stitch impl :) cc/ @williamboxhall