Source: https://www.fil.univ-lille1.fr/~sedoglav/RSX/Introduction.pdf