Segment visibility

Still having problems defining which segment points to remove. May be
more of a logical rather than a programming issue.