New feature: set optimal slice from BoundingBox information.