add dof constraints; fix the size of m_icells_anchors (thanks Luzia)