Successive overrelaxation using a single thread