added back estimate block size
fix avg block size
CMake finds levelDB