partial rewrite of pert_omp_from_normal_dc.