Use parallel streams to leverage multiple CPUs