publish the selected bouding box as well as the index of the box