Charge distribution to change in refractive index theory