anchor.diff:  end;
   
   
  -function TAIDefencePosition.CanAccept(aGroup: TKMUnitGroup): Boolean;
  +function TAIDefencePosition.CanAccept(aGroup: TKMUnitGroup; aMaxUnits: Integer): Boolean;
   begin
     Result := (fGroupType = UnitGroups[aGroup.UnitType]);
   
  
positive.code:   Result := (CurrentGroup = nil) or
              (aGroup.Count = 1);
    //@Lewin: Plz check me here, KaM did not linked big groups to filled Positions?
    //(CurrentGroup.Count + aGroup.Count <= TroopFormations[fGroupType].NumUnits);
  end;
  
  
  
negative.code: 
    //Try to link to existing group
    for I := 0 to Count - 1 do
    if Positions[I].CanAccept(aGroup, TroopFormations[aGroup.GroupType].NumUnits) then
    begin
      //Take closest position that is empty or requries restocking
      Distance := KMLengthSqr(aGroup.Position, Positions[I].Position.Loc);
  