Zaslat SMS: Optimization in Code Generation to Reduce Energy Consumption