fixed a bug in bounding box
completely removed the old vector types