Simplify fixedPoint function