use span for bounding box