notes
much faster smoothing