sum_up weights