updated DistThresholdCHOP