Added pool size var to allow byte or ptr sizes