Improved random deck generation.