Correct any errors of the single threaded version