Allow specifying max factor on command line.