Add function to relabel connected components when no 0-boundary exists.