Ensure letters in parameters are lowercase
Switch to using sys.maxint for _LETTER_MAX_COUNT