prefix tree in leveldb