https://123dok.net/document/q05g0mgy-markov-approximation-of-chains-of-infinite-order-in-the-bar-d-metric.html