Using unorderd_set instead of set