configure batch size