optimize message broadcast