Under what conditions can a glass be formed