Pass distance measurement to create bounding box