you just gotta leg sweep at the near of the gcd instead of immediately, dont think theres anything really to adjust.