Statistics for Maintaining shale stability by pore plugging