Energy utilization in extrusion