The theory leading to these final results in Eqs. ( ) and ( ) rests on the assumptions that there are no particles outside the hard walls, and that the external forces exerted by the walls are only in the z-direction normal to the walls. Without these, such as would be the case where the walls are represented by frozen or tethered particles, the problem would have to be revisited.