Pyrex is a glass with boron oxide added to the mix. This is another molecule that, like silicon dioxide, finds it hard to form crystals. More importantly, as an additive it counteracts the tendency of glass to expand when heated or contract when cooled.