From my understanding, the speed of light is reduced when traveling in a medium. Also, space is the closest thing we have to a vacuum, but it is not a perfect vacuum.
So I wonder if the almost vacuum effect of space is meaningful enough to be taken into account when calculating the location of galaxies & stars billions of light-years away from us?