Exploiting Computation Reuse for Stencil Accelerators