Optimization of time and consumption in the heating of sole molds