It's not quite clear what you have been saying, but putting cubes 1/2 meter on a side, in a box 1 meter on a side, you can make 2 layers, each 2 by 2 cubes, for a total of 8 cubes in the box; and the volume of each half-meter cube is (1/2)^3 = 1/8, so 8 of them make 1 cubic meter, as expected.