add pool size paramter

Signed-off-by: markhpc <mark.a.nelson@gmail.com>