Speed up the diagonal table