new write operations with batch size approximation via MIMD

MIMD - multiplicative increase / multiplicative decrease

This pull request is for informational purposes only, please do NOT merge.

This approach does only full serialization of BSON, but a serialization error fails a whole sub-batch.

I plan to revisit Bernie's approach of appending to BSON which will allow for less change both in code and behavior.