Blender Material Shader procedural Stretching

Hello, I’m currently working on a procedural material for a tree trunk using a Bezier curve with a profile. I’ve managed to achieve the desired look on one side, but the other sides are stretching uncontrollably. My goal is to ensure that every side of the trunk has the same level of detail and appearance.

This is the correct material

Those are the stretched ones

I tried to work with coordinate and divide the wave textures into 3-4 nodes, but it always only works for one or two sides, but the rest is still stretched… Why is that?