Vastly improved steal algorithm