Transistor design and thermal stability