Minimum Bounding Box Algorithm Design