Reimplement more accurate TTD evaluation for rake.