Smooth curves specialize to extremal curves