A circle is inscribed in a square ABCD and another square PQRS is inscribed inside the circle in such a way that its vertices are the midpoints of the ABCD. This is repeated by inscribing another circle inside PQRS and another square inscribed in the 2nd circle in such way that its vertices are the midpoints of PQRS. This is repeated infinite times. Find the ratio of sum of areas of all the squares to sum of areas of all the circles.