Setting Boundaries for Statistical Mechanics