Source: http://homepage.univie.ac.at/manjil.saikia/publ/preprints/perfect.pdf