\sum_{i=1}^{n} F(x_i) - F(x_{i-1})