You shouldn't need that long of a barrel, especially on a gas gun. BB's stabilize almost immediately after the hop in gas powered guns.
I'd highly recommend to look into upgrading the hop up rubber or trying heavier ammo before changing the barrel, they're both much cheaper options