Wire gauge is directly related to the current being drawn through the wire. If need be, you can create a small jumper of smaller gauge and step up to a larger gauge as long as you do not draw too much current through the smaller wires.
There are a variety of tools to do this including a step up/step down butt connector and quick splice terminal blocks.