It looks like `hasLoop()` takes way to much time <img width="374" alt="image" src="https://github.com/user-attachments/assets/1e6caed1-1c61-4f8e-9470-3ed19357630f"> <img width="1320" alt="image" src="https://github.com/user-attachments/assets/b2590999-6228-4b5b-8af6-b97650955aad">