Going through the list of batches to get the OD range (min and max)
rangeOD(batches)
batches
list of batches data