Thanks for your reply Step.
I already tried everything you suggest, but the result remains the same whether I set stack to infinite or 100.
So if you can take a look, I would be very glad.
I have attached a .zip with a pdf, fpi and database. Cut and stack.zip