Fix the truncation that happens when generated words are too long (happens if depth or root is longer than the word length)