Optimal and efficient algorithms for summing and prefix summing on parallel machines
Journal of Parallel and Distributed Computing