safer, more direct toString for Segment