Use simpler version of sum function.