bringing back parallel do over particles and fixed n_grid issue