grids with cost