Source: https://www.math.wisc.edu/~robbin/521dir/cont.pdf