Im new in dynamo and having problem to get my boundingbox to work. I have done a rectangle and a cuboid in the middle of the recangle, you see a little red box in the middle. The goal is to make many of this rectangles with cuboid in my floor (marked blue area). But as you see now, my bounding box is not in line with my floor, which I want it to be.The boundingbox is now a cuboid around my floor. How to solve this? And my other question is how do I get the rectangles that I have done not to go outisde my bounding box?

Thank for helping

/Alice and Ebba