Researchers have created a model that sheds new light on the formation of terrestrial planets and Earth.