exhaust pipe diameter for a mildly modified 340

and will a 320 hp 340 only lose a bit of power above 5000 rpm?