returned hash with best metric