dmg pruning fixed, but still needs to check for second largest dmg