A triangle has vertices $A$, $B$, $C$. A point $P$ is chosen on side $AB$, and lines through $P$ parallel to the other sides create smaller triangles $APQ$ and $BPR$ and a parallelogram $PQCR$. Find the minimum value of the maximum of the areas of triangles $APQ$ and $BPR$ as a fraction of the area of $ABC$.