now packing boxes by partitioning spaces on each addition