Use f64 instead of i64 to hold transition times