The effects of the control and prediction horizons on the urban traffic regulation