Whew! I have to say this challenge is really difficult and I failed miserably with a lot of boxes. But I do not think it is possible to be 100% precise anyway so that's that. However I do think I kinda got a grip on how it might work in a 3D space after those failures.

I messed up with the numbering of the box (no 149th and two 227th). Hope it does not confuse too much.

Thank you in advance for any feedbacks!