check unit for a chain OpenGM
bug fix in nb-ent