Two circles meeting at points $A, B$ and a point $O$ lying outside them are given. Using a compass and a ruler construct a ray with origin $O$ meeting the first circle at point $C$ and the second one at point $D$ in such a way that the ratio $OC : OD$ be maximal.