Fixed issue in which the time frame was too High, problem caused by the NaN in the constant definition