Effect of constraints on the dynamics of macromolecules