Bug fix to increment by number of threads * 2