rebuilt WordChains using TreeNode