Connecting & midpoint monitoring on a 5 battery-bank set-up

I need to replace my 4 old AGMs in our boat. To get an almost equivalent capacity as I have now, I am planning to buy 5 Victron lead carbon batteries. The boat is a catamaran (2 small hulls, separated by about 22’). There are space limitations meaning that I can only get 2 on the side next to the inverter so the other 3 must go on the opposite side, some 20-22’ away. Is there one connection scheme with is best suited to this install and is it possible to use the smartshunt midpoint option if there is an odd number of batteries?