How do you design a battery pack for an electric vehicle?