H type OB

Hello,

I just bought used OB speakers. I dont have much listening space. Woofer is 15 inch, box in which it is fastened is 58 cm long (both sides open naturally). Is it possible to shorten it on both sides? Is there a formula to calculate minimal length?
Woofer sits in the middle.

Thanks, Gorazd