added some bbox tools