Topology of internally constrained polymer chains.