private ArrayList<ArrayList<Integer>> getUniqueNPairs()
    {
        ArrayList<ArrayList<ArrayList<Integer>>> bucketList = getListOfPosNumBuckets();
        int[] posNumSize = new int[bucketList.size()];
        int[] posNumListSize = new int[bucketList.size()];
        for(int i=0; i<bucketList.size(); i++)
        {
            posNumSize[i] = bucketList.get(i).get(0).size();
            posNumListSize[i] = bucketList.get(i).size();
        }
        ArrayList<ArrayList<Integer>> uniqueNPairs = new ArrayList<ArrayList<Integer>>();
        for(int i=0; i<bucketList.size(); i++)
        {
            if(posNumSize[i]==posNumListSize[i])
            {
                uniqueNPairs.add(bucketList.get(i).get(0));
            }
        }
        return uniqueNPairs;
    }