code: def _compress_for_repeater(max_vol, plan, **kwargs):
      
      max_vol = float(max_vol)
      mode = kwargs.get('mode', 'transfer')
      if mode == 'distribute':   # combine target volumes into single aspirate
          return _compress_for_distribute(max_vol, plan, **kwargs)
      if mode == 'consolidate':  # combine target volumes into multiple aspirates
          return _compress_for_consolidate(max_vol, plan, **kwargs)
      else:
          return plan
docs: Reduce size of transfer plan, if mode is distribute or consolidate