Put a spacer under the barrel equal to the difference in rod length and modify the inlet and exhaust on a two stroke
Spacer and longer cam chain or push rods on a four stroke plus inlet & exhaust although sometimes the accessories will just "twist" a bit and line up.
I've done both in the past