Change transition to cube.