Adjustments to grid and subGrid made. Need to rethink the logic of the data structures.