Social structure and the duration of social acts