StructurePiece and BoundingBox improvements

Find the min and max in the BB constructor
Remove last component from StructurePiece, doesn't fit there….
Signed-off-by: Aleksi Sapon <QcTechs@gmail.com>