Topological restrains in protein foldin.