A box measures 4 units by 2 and 1/2 units, by 1 and 1/2 units. What is the greatest number of cubes with a side length of 1/2 unit that can be packed inside the box?