Reduce RE_SCAN_LIMIT to a more reasonable value