Added in searching for bounding box, need to check it.