computing homotopic boundaries (AKQHomotopicPaths)