optimize unique_names_postfix