Change in the energy gap caused by acoustic domains in CdS