fix duration granularity with non-zero origin