I have no idea where you are getting that boxers are smaller than German shepherds. It's purely an individual basis, and as a rule they are close to the same weight category. Some boxers can be around 90 pounds and not obese.
From AKC.org
GERMAN SHEPHERD DOG
BOXER
1 inch shorter if you are comparing the top end of the GSD scale... maybe. and some of course are going to be just as tall as a GSD, some GSDs are shorter than normal. The size difference is very minimal on average, and energy level should have much more to do with confining a dog in small quarters than physical size.
wow that suprisess me I think I should cross Boxers of my list lol
Bookmarks