random &neighbor pairing