I applaud you for wanting to improve your coding skills and fussing
over these little details.
FWIW, I would have come up with much the same line, only I might
reduce the math a tiny bit, and I like to add just a few more
parantheses for clarity:
For m = (4*p - 3) to (4*p)
But to be honest I don't know if that is any better or clearer than
what you already did.
Cheers,
-- David McFarlane, Professional Faultfinder