Bug in decay repercussion.
Desired behavior should be a sum of tf-i
For decazy function, make a switch for each t