Add a safety check for lots of segments.