The initial state of earth was what?