to grid the grid