Toward third generation HgCdTe infrared detectors