- changed boundingBox calculation to be similar with old one