Help me... About Random reduce

I want to make a new rectangular cube by carefully arranging the rectangular cube modules with different lengths of the three sides. After that, I want to erase the module randomly through the ‘random reduce’ function.