My code won't work properly once your belt is faster than 120 items per second, or one item per lane per tick. But I'm not gonna fix that, since I don't recommend using fast belt connections anyway. They're not the best for UPS, since each item on a belt needs to be teleported individually. Instead, I suggest that you use chest connections with loaders instead of using belts directly. This way you can use fast belts with Factorissimo with minimal UPS impact.