modified the showGird

it now shows the overlapping grids