args << "-n #{options[:max_misses]}" if options[:max_misses]
args << "-m #{options[:max_hits]}" if options[:max_hits]
args << File.join(@tmp_dir, "#{i}.pat")
args << "-n #{options[:max_misses]}" if options[:max_misses]
args << "-m #{options[:max_hits]}" if options[:max_hits]
args << File.join(@tmp_dir, "#{i}.pat")