Performance improving of small-dimension IR photodetectors