Improve broadcast allocation - thx @rogpeppe