add node pair and fix MapScoreMap