I didn't have extra wire to connect a bundle of neutrals to a switch, so I cut some off of an existing neutral wire that had some extra wire. I then found out about the electrical code that requires 6 inches of wire from the entrance to a box to the bundle of wires. I think I have about 3 or 4 inches right now, but I did buy some white THHN cable.
It will be easy to switch out the jumper wire that goes from the bundle to the switch with a longer wire, but what can I do about the wire that enters the box and goes into the bundle to get it up to code? Would splicing it be better than just leaving it?