anchor.diff:  
   procedure TKMNavMesh.Load(LoadStream: TKMemoryStream);
   var
  -  I,K,H: Integer;
  +  I,K: Integer;
  +  NewCount: Integer;
   begin
     LoadStream.ReadAssert('NavMesh');
   
  
positive.code:   begin
      LoadStream.Read(fNodes[I].Loc);
  
      LoadStream.Read(H);
      SetLength(fNodes[I].Nearby, H);
      for K := 0 to H - 1 do
        LoadStream.Read(fNodes[I].Nearby[K]);
  
      LoadStream.Read(fNodes[I].Owner, SizeOf(fNodes[I].Owner));
  
negative.code:   SetLength(AreaPolys, fPolyCount);
  
    //1. Get ownership area
    //Collect polys that are well within our ownership area
    Edges.Count := 0;
    for I := 0 to fPolyCount - 1 do
    with fPolygons[I] do
    if ((fNodes[Indices[0]].Owner[aOwner] >= OWN_MARGIN)
     or (fNodes[Indices[1]].Owner[aOwner] >= OWN_MARGIN)
     or (fNodes[Indices[2]].Owner[aOwner] >= OWN_MARGIN))
    and (fNodes[Indices[0]].Owner[aOwner] >= OWN_THRESHOLD)
    and (fNodes[Indices[1]].Owner[aOwner] >= OWN_THRESHOLD)
    and (fNodes[Indices[2]].Owner[aOwner] >= OWN_THRESHOLD)
  