Hello,
I have been studying what could cause problems with payments. So I have decreased $lastNshares to 100000 to speedup payments.
Please let me know how it will be calculated for you after the change. New payment calculations should start from block 404922.
And of course after the issue will be fixed i will make a recalculation.