Svag matchende rim for complementary transistor