Migrated score-recursion logic out of TimespanCollection.