318 crank shaft in a 340 ???

The 318 and 340 cranks are essentially the same. Swapping from one to the other will not change the displacement or compression at all.