Correction to prevent overflow error in ExponentialDecaySample