Segment match slow-path function