Competition of the connectivity with the local and the global order in polymer melts and crystals.