use "iterations" command line parameter for both methods