Replace '' by $ to mark the end of word in tree