Assertions on appendSegment.
Prevent null segments added to SegmentString.
STILL BROKEN.