Moving to input of grid of grids with a one pass through solution...

It's not pretty tho, would like to think about it more.