Need to consider BATCH_START against maxBatchSize too.