Repeat the process applying the smaller number form the result until the result is therefore smaller than the original small number.
Repeat the process subtracting the smaller number from the result until the result is smaller than the original small number.