Added more stable duration calculations