Improved the confidence threshold