I’m not sure to understand the problem. Did you have some very long samples in your program?
no, they were less than a second long. Samples that were closer to the top of the keyboard werent affected, though.