LDpair calculation multiple times