Fix specification of memory and iteration from the command line.