I think instead you could change `line 1062` to `vectors = self.unitcell_vectors[frame]`, and get the same behavior in a cleaner way.