Termite males enhance mating encounters by changing speed according to density.