Add end node to the word
Remove unreachable words from start and end of wording