Redirected some prints to stderr in SegmentBySegment