More accurate centidb helper function.
Import LMDB b4031100b25d632a3d052447