also use maps of IDs instead of SNodes in the segmentation change process