Greed search