maintaining stitch counts