Smallest Common Multiple challenge

Do you have any suggestions for how to optimize the calculation of a Collatz sequence? I’m hitting the loop protection even though this solution solves locally in only 110ms.