How to Measure a Carton?