The effect of subsurface mass loss on the response of shallow foundations