This will modify the cube as a side effect of calling export()