Improved distribution generation