[WIP] Support of chain function , but its slow
Change arborescence of structure test