Help with sheet metal corner

We have a sheet metal box and cover. How to make the corner minium gap between box and cover and looks nicely? Please give me some suggestions. The corner has flanges and jogs.

Thank you!

SolidworksSheet Metal