Given the binary, associative operator and x1 .. xk, compute .
Let [i,j] = , [i,k] = [i,j] [j+1,k], and [i,i] = xi.
We can use pointer jumping to change [i,i] to [1,i].