moving these relay control outside the tag checking does not help with the memory-issue
heavy-handed refactoring
refactoring
refactoring
refactoring
remember to make those indices unique, also some notes about integer types
it seems I was thinking of some other type casting issue
refactoring
query only the info we actually need, not that it helped with the mallocgc issue at all
refactored the card checking into a function
remove duplicated code with smart use of goto
fix logic error
actually fix the logic error