maximize (1-r)^(1-r) r^r (1-2r)^(-(1-2r)) (2r)^(-2r) for 0 < r < .5