Ring Closure and Local Conformational Deformations of Chain Molecules