Special geometrical constraints in the molecular dynamics of chain molecules