The acode generates the left upper coordinate of the bb instead of the center XY coordinate of the BB