Electrification of a Class 8 Heavy-Duty Truck Considering Battery Pack Sizing and Cargo Capacity