add support for setting algorithm/nfactor for each pool separately