Source: https://www.idpoisson.fr/berglund/optimtd6.pdf