update 1 for grid_cells.cpp