Restructured TS map computation

As close to final as it could get today.
This is Cash-statistic specific, no?
Can you put `cash` somewhere in the function name?