Modify calculation iterations for circular references

As noted