Good point, I was originally using something like that but it seemed too complex. Now that I think about it I might as well use `4 * !(p % 2)`.