algorithm 4over: exact statistics for over-represented pattern