repack the ldb after re-indexing