Before revision:  The algorithm uses a weighted average of the Shannon Entropies of the string and the first n-2 binary derivatives of the string.
After revision:  The algorithm uses a weighted average of the Shannon Entropies of the string and all but the last binary derivative of the string.