Light travelers in a straight line. If a photon can fit through the gaps of molecules the change of medium should not affect it as, it could only be absorbed by the molecules or fit through the gaps. How does it refract?