Heat diffusion and size reduction of a spherical magma chamber