Trying to right a BP that checks if a block is surrounded. Getting Infinite Loop

I don’t know why but when this is run, it’s detecting an infinite loop.