Svag matchende rim for diffusion transistor