DashSegmenter refactor