Hi, Here's a new patch that copies the suffixes before building the heap-based list in openp. I know this is not the solution I proposed, but I couldn't adapt the code without increasing its complexity way too much for my liking. If you think this is not an appropriate solution I will come up with another one. Thanks, Nico.