The origin of collective phenomena in firm sizes