compute PMCE strings dynamically