Add flag for parallelization of grounding.