reverse the preProcessed cubes so that we have the largest cube in the beginning of the vector
reverse ( preProcessedCubes . begin ( ) , preProcessedCubes . end ( ) ) ; int totalCubes = preProcessedCubes . size ( ) ;