In this video, I talk about the stacking problem and solution, if we were to procedurally "stack" random square together using Animation Nodes.
I feel the need to make this video, just to confirm my understanding and also sharing the theory behind it.
NOTE: AN has its own Bounding Box node (similar to Sverchok), however, currently it has little bug so I will not use it.