Strict math is screwing up the grid -- need to fix this