parallelization for abcd distribution calculation is now over 2nd loop var instead of 1st