Returning the labels in util.intervals_to_boundaries could result in undefined behavior, and was not being used, so the functionality was removed.