x0<x1<x2<<xn<xn+1.