Total sts vary from row to row

Hello, I am knitting the Wedding Ring Quilt pattern by Susan Mrenna on Ravelry.com, and I have expanded the dishcloth into an afghan. The cast on is 40 stitches, and I cast on 160. Perhaps I have made a mistake here.

The total number of stitches in rows 11-13 vary from line to line, so I usually have stitches left over. Why? I understand row 13 is one stitch short. The border stitches are 4 on each end.

Please help!

Row 1-6) [Knit across]
Row 7, 9) [k4], k32, [k4]
Row 8, 10) [k4], p32, [k4]
Row 11) [k4], k6, p2, k7, p2, k7, p2, k6, [k4]
Row 12) [k4], p4, k2, p2, k2, (p3, k2, p2, k2) 2x, p4, [k4]
Row 13) [k4], k3, (p1, k6, p1, k1) 2x, k6, p1, k3, [k4]

The pattern repeat is 32 sts with 4 sts at the beg and end of the rows for a border, that’s why it works with 40. You need 168 sts to make it work. The number of sts [I]do not change, [/I]it’s always a repeat of 32 sts. You will just repeat the sts between the [k4] at the beg and end 5 times.

I think there’s a stitch missing in the repeat in row 13.

Yeah, you’re right, there should be another one in that row.