changing the structure of the index