fixed point algorithm