use while instead of for loop to simplify execution
use while instead of for
Add run-benchmark script
parameter optimization