Curvature of the Protein Chain in Irregular Regions