where i defines the ith one-dimensional integration box and ϵ ρ is the amount of density that is allowed to be outside the domain of the grid. In order to determine the amount of the density that is outside the grid boundaries, the basis set used in the VSCF calculation is expanded a small amount outside the grid bounds.