reverse the preProcessed cubes so that we have the largest cube in the beginning of the vector
preProcessedCubes = preProcessedCubes [ : : - 1 ] NEW_LINE totalCubes = len ( preProcessedCubes ) NEW_LINE