added prefix sum kernel (sum_step)