more optimization, rename pool to global, unroll option