anchor.diff:      LookupLineFmt('ERROR_WEIGHT_VALUE = ''Invalid weight value. 0,0..%0.1f - pathless, %0.1f..%0.1f - correct'';',
         [MIN_WEIGHT_VALUE_LINE, MIN_WEIGHT_VALUE_LINE, MAX_WEIGHT_VALUE_LINE]);
   
  -    // FLAGS_MOVE_LEFT_DOWN
  -    LookupLine;
  -    LookupLine('FLAGS_MOVE_LEFT_DOWN: array[0..15{way:3;clockwise:1}] of Byte = (');
  -    ByteValue := @BytesBuffer[0][0];
  -    for Way := 0 to 15 do
  -    begin
  -      AddFlagMoveLeftDown(ByteValue, WayChildValue(Way and 7), Way >= 8);
  -      Inc(ByteValue);
  -    end;
  -    LookupBytesBufferLines(1);
  -    LookupLine(');');
  -
       // CHILD_ARRAYS
       LookupLine;
       LookupLine('CHILD_ARRAYS: array[0..31{way:3;clockwise:1;hexagonal:1}] of TChildList = (');
  
positive.code:       Result := 4;
      end;
    end;
  end;
  
  procedure AddFlagMoveLeftDown(Result: PByte; WayChild: Byte; ClockWise: Boolean);
  var
    FlagMoveLeft, FlagMoveDown: Boolean;
  begin
    case WayChild of
      1:
      begin
        FlagMoveLeft := not ClockWise;
        FlagMoveDown := False;
      end;
      5:
      begin
        FlagMoveLeft := ClockWise;
        FlagMoveDown := True;
      end;
      3:
      begin
        FlagMoveLeft := False;
        FlagMoveDown := ClockWise;
      end;
      7:
      begin
        FlagMoveLeft := True;
        FlagMoveDown := not ClockWise;
      end;
    else
      // diagonal
      FlagMoveLeft := WayChild in [0, 6];
      FlagMoveDown := WayChild in [4, 6];
    end;
  
    Result^ := (Byte(FlagMoveLeft) shl 3) +
               (Byte(FlagMoveDown) shl 4);
  end;
  
  procedure AddChildArray(WayChild: Integer; ClockWise, Hexagonal, Finalize: Boolean);
  
negative.code:   DEFAULT_WEIGHT_VALUE_LINE = Cardinal($3F800000){1.0};
    ERROR_WEIGHT_VALUE = 'Invalid weight value. 0,0..0,1 - pathless, 0,1..100,0 - correct';
  
    CHILD_ARRAYS: array[0..31{way:3;clockwise:1;hexagonal:1}] of TChildList = (
     ($0864, $0440, $1080, $0220, $20A4, $0100, $40C0, $80E0),
     ($80E4, $40C0, $0100, $20A0, $0224, $1080, $0440, $0860),
  