Change sub_values from lst to set