Remove redundancy in labeling