Add generic magnitude threshold block