Fallback on Yury's algorithm when things get too tough.