setting xmin