gridSize - size of the grid in pixels