Use Parallel instead of AtomicInteger.