resized the cube.