EV packaging optimization