adding distributed queues sums