Gravity-Induced Ice Compaction and Subsurface Porosity on Icy Moons