added bounding box expander method