fixed min and max x for regression