Performance bug fix in HPC_collect()