Drawing grid.