choosing a batch size