'Recursion' in formulas for self-related types

Similar problem exists in Fibery formulas, but please don’t tell anyone :sweat_smile:.
Soon we will add a loop prevention mechanics to formulas, so if some calculation causes recalculation of the same formula several times, we will not recalculate it, reporting a loop detection. We have such mechanics in Automation Rules, need to spread it to formulas as well.