calculate fixpoints of functions