Source: https://www.di.ens.fr/~fouque/projet.pdf