all pairs done