fix markHoles by properly searching for parent
break as soon as a parent is found