Implemented Buffer and min_no_batches for operator