allow 'with endpoints' and 'joining' for segments
2.0.2