Make words are not out of bounds and add '...' after the words.