Packing of the boxes