Parallelize the reprojections and threshold determinations using multiprocessing libraries.
Parallelize the reprojections and threshold determinations using multiprocessing libraries.