Make records ignore gainless updates at the end
Rename pairs to triples