Stepper motors overheating

The OP is setting the current by software.