solved revc, could not parallelize