A model of collective impact