added futility pruning and deep razoring