A heuristic for broadcasting in arbitrary networks