Optimal machine choice, and influence of material heating