Added pair rule for multiple datasets
Optimizing ProfileReader for small datasets