Where does `self.pair_indices` get set? this is its only appearance in this file.