Heating of polymers during neck propagation