Threshold takes now a minimum and a maximum