Please find attached a revised version of the style. It would appear some small change to the way that segment sizes are calculated has caused this macro to function slightly differently. In any case, it should be resolved in this version.
I hope that helps, please let me know if you have any questions when it comes to the materials.
Best,
Paul