Which of Earth's layers is the thinnest?