schoenfinkelcurrymarkovalgorithm