Dynamic management of segmented structures in 3D Slicer