Cool idea, was satisfying to figure out! The main issue I came across is that sometimes placing a box in a disallowed location (intersecting with the landscape for example) would cause the box to permanently disappear from your inventory and be unable to be placed again.