running version of allpairspingmap