issue #1077 no smoothing for measurements or manual threshold + test