refined thresholds and smoothing