modify parallel(because divided by zero problem)2