Parallel reduction prototype version