A UICollectionViewLayout subclass for packing cells so that the container size is minimized.