Fixed division of labour issues when number of offspring is fewer than number of threads.