why not `var i = 0` and `i < opts.pool` ?