fixed deadline calculation