clean bounding box for each component