Source: https://eaton.math.rpi.edu/faculty/mitchell/papers/restorationIIS4.pdf