Use Intel TBB to utilize threads for a pretty good speedup.