weighted sum aggregator complete