The rigid to floppy transitions and the associated intermediate phase in glasses are studied in the case where the local structure is not fully determined from the macroscopic concentration. The approach uses size increasing cluster approximations and constraint counting algorithms. It is shown that the location and the width of the intermediate phase and the corresponding structural, mechanical and energetical properties of the network depend crucially on the way local structures are selected at a given concentration. The broadening of the intermediate phase is obtained for networks combining a large amount of flexible local structural units and a high rate of medium range order.PACS numbers: 61.43. Concepts from mean-field rigidity in networks found their origin from Lagrangian constraint counting in mechanics [1] and have been applied with great success in glass science for several decades [2]. Bonds in a glass network can indeed be considered as constraints arising from interatomic stretching and bending forces. The connectivity or cross-link density (best quantified by the network mean coordination numberr) plays therefore a key role. In highly cross-linked networks wherer is large, there are more constraints than degrees of freedom per atom on average and the structure is stressed rigid (hyperstatic or overconstrained). At low connectivity, one has a flexible (hypostatic or underconstrained) structure that contains more degrees of freedom than constraints. Thorpe [3] analyzed the vibrational behaviour of such kind of networks and identified a mean-field (MF) floppy to rigid transition when the mean coordination number equalsr =r c = 2.38, a result that agrees with global (Maxwell) constraint counting as enunciated by Phillips [4] from the enumeration n c of bond stretching and bond bending forces.The underlying nature of this peculiar transition has been deeply reinvestigated recently because two transitions atr c(1) andr c(2) have been found [5] experimentally in a variety of glasses. These define an intervening region (or intermediate phase, (IP)) between the floppy and the stressed rigid phase. In the IP, glasses display some remarkable properties such as absence of ageing [6] or stress [7], selection of isostatically rigid local structures [5] or weak birefringence [8]. The two boundaries have been characterized from numerical calculations [9] and cluster analysis [10] on self-organized networks and identified as being a rigidity transition at lowr and a stress transition at highr. In the mean-field approach or in random networks where self-organization does not take place, both transitions coalesce into a single one. Moreover, links between IP and protein folding [11], high-temperature superconductors [12] or computational phase transitions [13] have been stressed that go much beyond simple analogies. The understanding of the IP is therefore of general interest. It has become clear that stress avoidance in the network is responsable for the width ∆r =r c(2) −r c(1) and the location of the intermed...