Algorithm 8 - A program to shorten a sequence of sets of integer numbers - Jerzykiewicz, Krystyna (1969)