Refactor makeAllGrids
Refactor makeAllGrids
Refactor makeAllGrids