Quickly Enclosing Components in a Container