Refactor assign_labels_to_src().