Source: http://perso.ens-lyon.fr/martin.verot/fichiers/piles_2.pdf