proper handling of min-size container computation.

This adds a check on hug_* to ensure that the container is indeed
shrinkable.