SegmentStore wip