As slabs from the same blocks can have irregular lengths and widths, we measure the two sizes in the middle as shown in the picture below: