Bugfix root array

refactored the mechanism if a struct belongs into linked
should we use a boolean parameter to specify function behaviour?

https://programmers.stackexchange.com/questions/147977/is-it-wrong-to-use-a-boolean-parameter-to-determine-behavior

Is there maybe a way that the function itself can decide if it is linked or not?