optimize index efficiency