close the range and make the inner loop parallel as well.