Added individual threads per engine, so that rows are processed in parallel