Extremal curve