Make "computeDurationTensions'" pointfree