Amortize smoothing cost over every 10 events
Remove c++ 2000 requirement