put Build_PathFactorization outside in pathfactorization_path