private function buildIndexForContainer($data)
    {
        $this->_paths = [];
        $this->_nodes = [];
        
        foreach ($data as $item) {
            $this->_nodes[$item['nav_id']] = ['parent_nav_id' => $item['parent_nav_id'], 'alias' => $item['alias'], 'nav_id' => $item['nav_id']];
        }
        
        foreach ($this->_nodes as $node) {
            $this->_paths[$node['nav_id']] = $this->processParent($node['nav_id'], null);
        }
        
        return $this->_paths;
    }