Parallel run in for loop

Maybe you can try using Iterators.product to convert the 32 loops into one loop over the combinations of parameters. Them, make this single loop parallel. But really with only that information is not easy to help.