Refractive index inhomogeneity within an aerogel block