change N via command argument to benchmark