A very important optimization here is that Θ only needs to be recomputed within the finite-difference domain of dependence of the j th grid point.