fork base parallelization of pairwise module