https://www.nuxbie.com/2022/09/learning-combining-and-separating-paths.html