For debugging the find correct template problem in intra_H_migration for cycles