added max word length and hash table size