pass a number of workers to the -p options, and fixing grouper algo