1.20 Structure/jigsaw blocks need help with Datapack

General Information: I want to make datapack for me and some friends. Its a dungeon that should spawn in a world randomly at the surface.

**Problem: ** I never used structure blocks befor this datapack and kinda got it working that the structure at the top spawns random in the world but the rest not. so i think something is wrong with my jigsaw blocks of the structure. cause it has 8x different rooms. As you can see in the picture i didnt use any corner blocks i just used the ~~ ~ cords. But it kinda dont want to load it correctly. Can someone pls help me a bit with it. i now tried the last weeks and now lost my brain ._.

I hope i can explain all so you can understand what my problem is cause my main language isnt english so its not perfect i am sry : )

Pictures: Picture 1: Full dungeon with the names of the rooms Picture 2: Structure folder Picture 3: worldgen (templete pool) folder Picture 4: an example of my jigsaw blocks (cause all would be a bit much)

Thank you really much for reading and i hope maybe someone out there can help me pls

Have a great day Mr.Garex

Continue to help post