Fixed issue with exponential distribution