In case anyone is thinking about going with the oversized D31M (blue top, deep-cycle with regular and marine style terminals, same as yellow top D31A/D31T) I can confirm that it does fit without any space problems, but you will need to buy a new clamp/hold-down thingee because it is taller than the stock clamp can reach.