First, it may be that the calculation of your custom index is too complicated, and the use of flush takes up too many software resources, which leads to the card;
Second, the index languages of flush, great wisdom and correspondence are too different, and some functions in the formula may be incompatible, which makes the operation impossible;
Thirdly, to solve this problem, we must analyze the source code and change the function inside into a special function with a straight flush.
Fourth, if you really can't, just ask me, and I can look at you!