Minified the processing of the charsLeftThreshld function