funky stuff with pair distance and short strings