Thermal evolution of a growing Mars