check remain calc instead of estimate for maxtime