IMHO, I think that its a good practice avoid square inserts, unless the corrners were round it.
I´m not the more experience here but I think that here is a good point to justify my prevoius comment.
"UG-36 OPENINGS IN PRESSURE VESSELS
(a) Shape of Opening23
(1) Openings in cylindrical or conical portions of vessels,
or in formed heads, shall preferably be circular, elliptical,
or obround.24 When the long dimension of an
elliptical or obround opening exceeds twice the short
dimensions, the reinforcement across the short dimensions
shall be increased as necessary to provide against excessive
distortion due to twisting moment.
(2) Openings may be of other shapes than those given
in (1) above, and all corners shall be provided with a
suitable radius. When the openings are of such proportions
that their strength cannot be computed with assurance of
accuracy, or when doubt exists as to the safety of a vessel
with such openings, the part of the vessel affected shall
be subjected to a proof hydrostatic test as prescribed in
UG-101."