Update the non-segmented Algorithm3 in README