Small improvement for transforming sums of products