use nat::boundingbox function where appropriate