Factored out a shift on t_ref.