Scattering the squares of different size using grasshopper

Hello, I am trying scatter the square geometries with different size within the square boundary, in a way that the squares will fit tightly each other. For instance, Like in the chessboard, but the squares with different sizes. In my case, I have 5 different sizes of square.

Thanks


Differing only in height? Where is your GH file?

3. Attach minimal versions of all the relevant files