fixed hand evaluation algorithm