xmax to xmax+1