Add translation to cube.