Measuring Objects Using Cubes For Packing