Thanks! Yeah, so it basically comes down to maths and finding the smallest number that when divided by 64 and 40 spits out a number without decimals, right? Will have to adjust pattern change behavior then, but should work. If there is a more elegant way, please let me know :v:.