leveldb work (do not merge)