You may have not realized it, but TRIM.SP could not handle compositions with more than 5 elements (last elements were ignored). Well, now it can. A recent upgrade of the original FORTRAN code enables you to simulate the stopping distribution in compositions with up to 12 elements. During this upgrade, I also discovered and fixed some hidden bugs. These are not alarming and affect only boundary cases, so don’t worry your old TRIM.SP calculations were (most probably) fine.
Download the most recent version here. The source code is here.

