The optimization of optical gain in the intersubband quantum well laser