Note that in case of parsing with a flattened TAG, only an ET t, not its individual flat rules, is assigned a weight.
t's weight contributes to β(I) only when t has been fully parsed, and it contributes to h(I) otherwise.