Change the algorithm of fundep.