reduce it to a cube