pr0nts: some error checking and optimizations for small stitches