fix a bug (BoundingBox of Polygon was not correctly setup)
remove unused classes