Attempting to parallelize