1D Fenwick.