faster read_pairs_data
Depends on data.table