Bounding boxes for flags by Andy