I don't think generating every possibility of a cube is reasonably doable - it's over 43 quintillion - 10^16
Edit: I think you simply didn't understand what I was talking about. The distribution of states is not even. If you randomly perform moves on a cube then you're more likely to end up in certain states.