added couldPrune()