trie: kvs inplace now only checks encodes and buckets.