store the length of the longest word in the dictionary file, and use it to immediately reject input that is too long to be a word