Creation of the grids