How Does Density Affect Refraction