WIP: add smoothing after dwnsampling
WIP: add bspline interpolator