added mrbrdo's per pool algo switch