setter for poolsize and history length
ups