It doesn't have to be square; there have been studies proving that other shapes are much better than squares (best is a sphere I believe...).
But I'm not sure how a couple of different-sized boxes put together might affect internal soundwaves. Surely someone else on this forum would know tho.