Trying different criterion to get best node