     @puzzle = puzzle_app
     @corner_fit = "box-odd"
     @box_xy = @puzzle.puzzle_view.puzzle_xy
-    alert("HexGrid x,y = "+@box_xy[0]+","+@box_xy[1])
 
 
 

      aa = hx[0]
      b2 = 2*hx[1] + aa%2 - 1
      @test_left_right_top_bottom(aa,b2)
    if aa%2 == 1
      first_column = "odd"
    else
      first_column = "even"



  test_left_right_top_bottom: () ->
    @left = aa if aa < @left
    @right = aa if aa > @right
    @top = b2 if b2 < @top

    @corner_fit = "unknown"


  set_hex_box: (piece_symbol) ->
    @reset_hexes(@get_hexes(piece_symbol))
    @get_box_metrics()


  get_box_metrics: () ->

    @init_box_params()
