utility to draw bounding boxes