The kilogram used to be defined as the mass of a metal cylinder with a height of 39.7 mm and a diameter of 39.4 mm. If we wanted a square prism of the same volume, what length should the sides of the base be if the prism and the cylinder have the same height? Round to the nearest hundredth of a millimeter.