Battery and Power wire gauge

My current setup is as follows:

[LIST]
[*]Two marine deep cycle batteries (typical walmart/costco lead acid batteries)
[*]Perko switch
[*]Kicker 700.5 amp (class A/B for cabins, Class D for sub)
[*]Precision Power P600.2 (class D amp)
[/LIST]

So when I took a look at my setup, I found that whoever did my stereo system wired the two amps with 4 gauge to a distribution block, then wired 4 gauge directly to one of my batteries. Both batteries are wired to the Perko switch with 4 gauge.

I think it's a poor design to have the amplifiers wired to bypass the switch, so I intend on re-wiring the lead from the distribution block to go to the perko switch. The run looks like it will end up being about 6 to 7 feet. Maybe 9 or 10 feet if I relocate the distribution block closer to the power terminals of the amps and in turn shortened the run from the distribution block to each of the amps.

What gauge wire should I run from:
[LIST=1]
[*]The batteries to the perko switch?
[*]From the Perko Switch to my amplifier distribution block?
[*]From the Distribution block to each of the amps?
[/LIST]