fixed so that y-coord bounds are the same whether x is odd or even