enclosure with negative size handled