Mistake, duration per trail is used in one place as a counter and another place as a millis. So better to keep it as the old one.