def METHOD_NAME(self) -> TarCapLayout:
    location = self.package.target
    preferred_alt = self.flight.unit_type.preferred_patrol_altitude
    randomized_alt = preferred_alt + feet(random.randint(-2, 1) * 1000)
    patrol_alt = max(
        self.doctrine.min_patrol_altitude,
        min(self.doctrine.max_patrol_altitude, randomized_alt),
    )
    builder = WaypointBuilder(self.flight, self.coalition)
    orbit0p, orbit1p = self.cap_racetrack_for_objective(location, barcap=False)
    start, end = builder.race_track(orbit0p, orbit1p, patrol_alt)
    refuel = None
    nav_from_origin = orbit1p
    if self.package.waypoints is not None:
        refuel = builder.refuel(self.package.waypoints.refuel)
        nav_from_origin = refuel.position
    return TarCapLayout(
        departure=builder.takeoff(self.flight.departure),
        nav_to=builder.nav_path(
            self.flight.departure.position, orbit0p, patrol_alt
        ),
        nav_from=builder.nav_path(
            nav_from_origin, self.flight.arrival.position, patrol_alt
        ),
        patrol_start=start,
        patrol_end=end,
        refuel=refuel,
        arrival=builder.land(self.flight.arrival),
        divert=builder.divert(self.flight.divert),
        bullseye=builder.bullseye(),
    )