1 for (i=1; i<=N; i++)
2  for (j=0; j<=N; j++)
3   t0: A[i][j] = A[i-1][j] + …;
4 for (i=0; i<=N; i++)
5  for (j=N-1; j>=0; j- -)
6   t1: A[j][i] = A[j+1][i] +…;
Listing 22: Example application for buffer reduction.