take progress meter code from mongodb server source