Rectangular containers for sealing