Add optimizer.group option for parallelizing optimizer