Module sorting / tetris

Hello,
i am trying to find away to divide a surface and have a control on the sorting of the modules:

  1. in the middle of my grid i made a hole, i control its size and location with cull patterns.

    but i would like to find a better way to control the hole’s location.
  2. i would like to have 3 groups - 5 modules, 7 modules, and above 8 modules,
    and i would like to find a way to have a maximum of alternative of groups combinations:

    for example an alternative with a maximum of 5 modules group and another alternative with a maxumum of 7 modules group.

i would be grateful for any constructive insight,
13x13_Parcel.gh (27.5 KB)