Fix #1001: Add setting to disable parallel optimization
Merge pull request #1004 from gzm0/par-option

Fix #1001: Add setting to disable parallel optimization