set the number of cubes in find the answer