Resumed nDiff and CheckAutoPageSize: they were not effective

Change-Id: I599e7b21dc61a09f9cc3f68533183552caaac0ae