Let $D=[0,\sqrt N)^d$ for some $N\in\mathbb N$, $x_i,x_j\in D$ and $\sigma>0$. In equation $(30)$ of this paper I've read that, if $d=2$, then \begin{equation}\begin{split}\int_D\exp\left(-\frac{\left\|x-\frac{x_i+x_j}2\right\|^2}{\sigma^2}\right)\:{\rm d}x&=\int_{\mathbb R^2}\exp\left(-\frac{\left\|x-\frac{x_i+x_j}2\right\|^2}{2\left(\sigma/\sqrt 2\right)^2}\right)\:{\rm d}x\\&=2\pi\frac{\sigma^2}2=\pi\sigma^2\end{split}\tag1\end{equation} as long as $\sigma\ll\sqrt N$ or "assuming an infinite periodic set".
How can we show this? I actually don't understand what's meant by "assuming an infinite periodic set". But even when $\sigma\ll\sqrt N$, I don't understand how we obtain the claim (at least approximately).
EDIT
So, okay. Let us write $z:=\frac{x_i+x_j}2$. We've then got $$\int_{\left[0,\:\sqrt N\right)^d}\exp\left(-\frac{\|x-z\|^2}{\sigma^2}\right)=\sqrt N^d\int_{[0,\:1)^d}\exp\left(-\frac N{\sigma^2}\left\|x-\frac z{\sqrt N}\right\|^2\right)\:{\rm d}x\tag2.$$ Now note that $$\sqrt N\int_0^1\exp\left(-\frac N{\sigma^2}\left(x-\frac{z_i}{\sqrt N}\right)^2\right)\:{\rm d}x=\frac{\sqrt\pi}2\sigma\left(\operatorname{erf}\left(\frac{z_i}\sigma\right)-\operatorname{erf}\left(\frac{z_i}\sigma-\frac{\sqrt N}\sigma\right)\right).\tag3$$ Now how does $\sigma\ll\sqrt N$ imply $(3)$ is equal to $\pi\sigma^2$? I guess we need to use $\frac{\sqrt N}\sigma\to\infty$ instead of $\sigma\ll\sqrt N$, but I still don't see how to deal with $\frac{z_i}\sigma$ in $(3)$ when I take this limit ...
EDIT 2
Maybe we need to assume $\sigma=\delta\sqrt N$ and consider $\delta\to0+$ as suggested by FShrike in the comments. For this, note that $$\int_0^{\sqrt N}\exp\left(-\frac{(x-z_i)^2}{\sigma^2}\right)\:{\rm d}x=\sigma\int_{-\frac{z_i}{\sqrt N}\frac1\delta}^{\left(1-\frac{z_i}{\sqrt N}\right)\frac1\delta}e^{-x^2}\:{\rm d}x\tag3.$$ Now the integral on the right-hand side clearly tends to $\sqrt\pi$ as $\delta\to0+$. I guess this is why they say that $(3)$ is approximately equal to $\sqrt\pi\sigma$. However, since $\sigma\to0+$ as $\delta\to0+$, this is somehow strange.