sum time upto n added