I'm also not sure what you mean "I removed the check". Do you mean `if (!quad_is_valid) return false`? I'm talking about breaking a loop starting from line 164.