working commit: improving sub-level smoothing algorithm