Use doubling_task to start parallel sorts in doubling()