GLSL offset problem in geo shader like tree grow algorithm

Hi all. There is a small problem that I still cannot solve, although it may seem very simple at first.
The problem is branch offset in my grow like algorithm. Inside the geometry shader everything works correctly except that
I can’t offset branches using positions from instacies or from textures that would allow for offset.
The algorithm is a little bit hardcoded, I hope you understand what is written there.
I am forwarding an offset from a vertex shader to a geometry shader, there are some small comments on the code.

As you will probably immediately notice, all inctancies are stuck in the position of the center of coordinates,
and various offset manipulations do not work for me.
Hope for your help and understanding, thanks in advance.
tree_grow_problem2.toe (9.5 KB)