rewrote coordinate calculation of level grid to be more precise with half steps and full steps