Clearly, the largest W is given by free boundary conditions (no constraint at all on the configurations on the boundary), but the same W occurs, in the thermodynamic limit, for periodic boundary conditions, as used originally to derive W 2 D .