binery+greedy