- && (*contHist[0])[movedPiece][to_sq(move)] < (depth == 1 ? 0 : -stat_bonus(depth-1))
- && (*contHist[1])[movedPiece][to_sq(move)] < (depth == 1 ? 0 : -stat_bonus(depth-1)))
+ && (*contHist[0])[movedPiece][to_sq(move)] < 23 - 23 * depth * depth
+ && (*contHist[1])[movedPiece][to_sq(move)] < 23 - 23 * depth * depth)