leveldb approximate size
check is const
format
link order of pthread important