Thank you for your advise. The substitution method works correctly and better!
Wrong circular inclusion detection