if ( currentPos.hasNext() )
{
uncompletedPositions.push( currentPos );
popUncompleted = true;
}
<BUG>assert !pRel.isMarked();
Iterator<Relationship> relItr =
currentNode.getRelationships( pRel.getType(),
pRel.getDirectionFrom(
currentPos.getPatternNode() ) ).iterator();</BUG>
pRel.mark();

if ( currentPos.hasNext() )
{
boolean popUncompleted = false;
PatternRelationship pRel = currentPos.next();
if ( currentPos.hasNext() )
{
uncompletedPositions.push( currentPos );
popUncompleted = true;
}
assert !pRel.isMarked();
Iterator<Relationship> relItr = getRelationshipIterator(
currentPos.getPatternNode(), currentNode, pRel );
pRel.mark();
