Design and optimization of 22nm NMOS transistor