@Test
    public void testPackingDices() {
        Collection<Box> boxes = new ArrayList<Box>();
        for (int i = 0; i < 9; ++i) {
            boxes.add(new Box(i, 2, 1, 1));
        }

        Box b = Packing.pack(boxes);

        System.out.println(b);

        List<Box.Location> locations = new ArrayList<>();
        b.locate(0, 0, 0, b.v, locations);

        System.out.println("shuffle");

        b = Packing.rePack(b, 0.98d);

        System.out.println(b);

        b.locate(0, 0, 0, b.v, locations);
    }