Aggregation of modular units

Can you tell me how residential cells can be transformed in this way in vertical skyscrapers?

I’m not quite sure which tool is best to use for this - WASP units, FOX or just morphing / voxelization in GH? If this topic has been discussed before, please direct me to it. Thank you for your attention!

Nothing in that image suggests to me the need for a plug-in, or even Grasshopper really. It looks like a stack of similar units with different lengths and offsets.

It’s more like a design question rather than a technical software question.
It’s best you turn to your Architectural professor.