Still something wrong with heapMergeVertex. It works if I remove the merging, but mergeing is a very important part of the process.