Initial threaded doubling algorithm