Essential and inessential elements of a standard basis