How to build an ebike battery pack