I am trying to determine what algorithm to use to determine the layout that yields the maximum number of 2x2 square grids that can fit inside a larger non-uniform grid. The