Text this: Optimization of nanoscale complementary metal oxide semiconductor performance