Paulstretch is such an utterly genius algorithm. Ridiculously simple solution to a difficult problem but it gets you amazing results
The algorithm is described at https://www.paulnasca.com/algorithms-created-by-me