code: func New(state state.State, config *config.BalancerConfig) (Allocator, error) {
  	var rangeCursor *ipaddr.Cursor
  	var err error
  
  	ranges := strings.Join(config.Ipam.Ranges, ",")
  	if ranges != "" {
  		rangeCursor, err = ipaddr.Parse(ranges)
  		if err != nil {
  			return nil, errors.Wrap(err, "error parsing IPAM ranges")
  		}
  	}
  
  	return &Ipam{rangeCursor, state, config}, nil
  }
docs: //Init initilizes ipam module