<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def _BuildIndex(self):
 """Recreate the key index."""

        self._index = {}
        for i, k in enumerate(self._keys):
            self._index[k] = i