Iteration of slices_or added to allow for case when one slice overlaps two others.