updated grid to support sup grids, or inner grids with an existing grid.