modif to apply the curvature on each component

Can be useful is the volume does not contains only one connected component.