chainable segment adding for path