AC wiring on a boat can get tricky - much worse than a house as you have multiple sources of AC aboard. Study the ABYC specs to the point you understand them.
I did some rewiring on a Bristol 38 trawler some years ago. The shore power breaker/polarity protection can only be so far from the shore power inlet - I had to add a separate panel closer to the inlet. Keep track of the different AC sources (shore, inverter, generator) and make sure the things that can run from each source are appropriate. ie: don't run the battery charger off the inverter, and probably not the electric stove.
Do not assume that what's installed is correct. This Bristol had 3 bilge pumps installed, nicely staged in size and depth of activation. Small guy (pint size) in the bottom of the bilge, quart size pump a bit higher, then the big gallon size pump. All run off the same breaker which wasn't sized to handle all 3 pumps!