It is going to be somewhat distorted, obviously, but a variable section sweep should be able to do this with ease.
How much distortion are you suggesting?
In this particular case, I think that spinal bend would be the most accurate method if you want consistent compression and expansion.