Control the size of the grid.