The base of the pyramid is a square. The height of the pyramid crosses the diagonal of the base. Find the largest volume of such a pyramid if the perimeter of the diagonal section containing the height of the pyramid is 5.