A thorough investigation of MOSFETs NBTI degradation