added max_write_batch_size attribute to Mango