Glass optimization software