doubling problem