It's just a way to build a hierarchical structure for the labels, we need this in greed approach, when we contruction labels according to already seen patterns. I agree it's not the way to do so, however it's ok for now I think