Changed transition to cube.