minimal main index