Model of earth during impact