       b2 = 2*hx[1] + aa%2 - 1
       @test_left_right_top_bottom(aa,b2)
     @get_corner_fit()
+    @get_anchor_hex()
     @get_box_xy()
     @report_metrics() if @metrics_report == true
 

    @top = b2 if b2 < @top
    @bottom = b2 if b2 > @bottom

#      left = aa if aa < left
#      right = aa if aa > right
#      if b < top
#        top = b
#        hx_top = bb
#        high_hex_col = aa
#      if b > bottom
#        bottom = b
#        hx_bottom = bb
#        low_hex_col = aa


  init_box_params: () ->
    @left = 25

    console.log("HexBox: bottom = "+@bottom)
#    console.log("HexBox: ")
    console.log("HexBox: corner fit = "+@corner_fit)
    console.log("HexBox: anchor hex ="+@anchor_hex)
    console.log("HexBox: box XY ="+@box_xy[0]+","+@box_xy[1])
#    console.log("HexBox: ")
#    console.log("HexBox: ")


  get_anchor_hex: () ->
    aa = @left
    bb = (@top + @top%2)/2
    bb = bb + 1 if @left%2 == 0 && @corner_fit == "low"
    @anchor_hex = [aa,bb]


  get_box_xy: () ->
    hx = @anchor_hex
    xy = @puzzle.hex_draw.get_hex_xy(hx[0],hx[1])
    xy[1] = xy[1] - 10 if @corner_fit == "low"
    @box_xy = xy


  get_corner_fit: () ->
