Human history and the loop of repeated behaviours