parallelizing toRaster. Fixed num_inputs bug in workqueue