Move the definition of bbox to util.h
Encapsulate point->tag transformation into point_to_tag function.