New algorithm implemented.