The boundary condition is taken as a loop, i.e. any interaction that touches a side of the box will be looped to the opposite side of the box.

Physiologically, this can be taken to represent the fact that there are multiple molecules in a (functionally) infinite lattice.