fixes bug in trie_update_ancestors_size