In #2 some cases of illegal positions that cannot be handled were made to be rejected. Reject also positions with more than 16 pieces for the side, as engine is not written to support more than 16 pieces for a side.
rnbqkbnr/pppppppp/3pp3/8/8/3PP3/PPPPPPPP/RNBQKBNR w KQkq - 0 1
rnbqkbnr/pppppppp/3pp3/8/8/8/PPPPPPPP/RNBQKBNR w KQkq - 0 1
rnbqkbnr/pppppppp/8/8/8/3PP3/PPPPPPPP/RNBQKBNR w KQkq - 0 1
In #2 some cases of illegal positions that cannot be handled were made to be rejected. Reject also positions with more than 16 pieces for the side, as engine is not written to support more than 16 pieces for a side.
rnbqkbnr/pppppppp/3pp3/8/8/3PP3/PPPPPPPP/RNBQKBNR w KQkq - 0 1
rnbqkbnr/pppppppp/3pp3/8/8/8/PPPPPPPP/RNBQKBNR w KQkq - 0 1
rnbqkbnr/pppppppp/8/8/8/3PP3/PPPPPPPP/RNBQKBNR w KQkq - 0 1