The approximation is improved by incorporation of an error term from the previous time step; the error is computed in the current time step for a node displaced by one grid space inside the model as in Equation 62. The resulting boundary condition is shown in Equations 63, 64, 65, and 66 for all four sides of a rectangular model, left, right, top and bottom respectively.

The left side boundary equation is