+ from = move_from(m);
+ to = move_to(m);
+
+ bool hxl = ( int(pos.midgame_value_of_piece_on(from))
+ -int(pos.midgame_value_of_piece_on(to)) > 0)
+ || pos.type_of_piece_on(from) == KING;
+
+ // Avoid calling see() for LxH and equal captures because
+ // SEE is always >= 0 and we order for MVV/LVA anyway.
+ seeValue = (hxl ? pos.see(m) : 0);
+