grid_calc first pass