Take a seamstress' tape measure, or a string, wrap around the battery and the tray, note the measurement.
Buy a bag of heavy duty zip ties long enough, and snip the ends off after installing, being sure to pull them tight with pliers first!
Use wire cutters to remove, if needed, and keep the spares.
__________________
|