That's a ludicrous design flaw as it makes for a pretty obvious vulnerability and juicy target for attacking ships. Is that a canon requirement for Imperials, all of their ships have to have ludicrous design vulnerabilities?
Quite the opposite. The reactor no doubt fits in the ship. but without the bulge would be vunerable. That bulge is armour plate intended to remove the design flaw.