Heat sources include gravitational energy released by the compression of the core, gravitational energy released by the rejection of light elements ( probably sulfur, oxygen, or silicon ) at the inner core boundary as it grows, latent heat of crystallization at the inner core boundary, and radioactivity of potassium, uranium and thorium.