Faster sum() function. #performance