Fine modulation of the energy band strategy to control the carrier confinement capability of digital alloys