Birth and decline of magma oceans. Part 2: wobbling thermal history of early accreted planetesimals