refactor ExponentiallyDecayingSample