Well, if it's a bug, then the bug works very well.
Yes, I actually agree, but I think (I am very sure) the bug is a programming error rather than a random corruption. (I have about 50 years of programming experience.)
I wrote the code for this from scratch. I may have mentioned it in Gearotic recently. It runs, and makes GT2 pulleys.
cheers
Roger