If the bounding boxes have the same values, its easy.
If the bounding boxes have the same wid and heights, at least, loop would be ok.
If the bounding boxes have different values, with different wid and heights,  loop + collate_fn??