The crystal structure of freshly produced sugar is inspected prior to being shipped to a storage warehouse.