parallelized dic prep. it was making the gpu version slow