private static SectorEdge BuildEdge(Position square, EdgeSegmentId id, SquarePoint left, SquarePoint right) =>
 SectorEdge.FromPosition(
     square,
     new EdgeSegment(
         id,
         new SectorDescription(1),
         SectorDescription.OutsideLevel,
         Left: left,
         Right: right));
 public static (SquarePoint Left, SquarePoint Right) GetLeftAndRight(this EdgeSegmentId id, SquareSegment frontSegment) =>
 (id, frontSegment) switch