what was the most important factor for the formation of our planets?