Hi, I have an algorithm that does a considerable amount of math and I'm getting an error message that one of the loops in the code is making the algorithm to timeout. Is it possible to get some help on how to reduce this loop since I've tried killing it once it's met some conditions but for some reason it keeps on going?