Evaluating the cost of a single sum