batch mode update

There are situations, when batch size becomes very big and been affected by fragmentation