Improved and simplified task parallelization