r749: max_hits tunable on CMD; default to 5