verify word lengths