Set level and index on root.