Implement the minimum box as a class
Description
Implement the minimum box as a class. For the moment the initialization is a bit ugly, as we need to collect and reorder the information from the geometry before passing it to the class constructor, but hopefully this will be improved in the future.