Remove unnecessary loop in mc_pv data set generation