There are crashes for certain positions like for example for
The root cause is not completely clear but this commit solves the problem.