updated getBBox