Source: https://www-fourier.ujf-grenoble.fr/~parisse/irem/michele_gandit_avalanche.pdf