The second way to introduce a defect is using an extended Wooten-Winer-Weaire bond switching algorithm as extended by Ormrod Morley and Wilson and shown to be useful to generate high-quality continuous random networks by Bailey et al. . The bond switching step is shown schematically in Fig. and performed by the following algorithm: