Threading chalcogenide layers with polymer chains.