Working on the cube generation.