Add keysWithPrefix to trie.