       @len_x = @default_bbox.len.x
       @len_y = @default_bbox.len.y
 
+  getSize: () ->
+    return width: @len_x, height: @len_y
+
   addNode: (node) ->
     @contains.push(node)
     node.parent = this

        c.reconstruct_as = WeightedNodeCollectionFromSF
      else
        console.log('won\'t finish S-F, incomplete')
  }
]

code_list_dropdown_menu = [

      console.log('finish Huffman')
      # TODO: maybe first this should automatically finish the construction?
      c.reconstruct_as = WeightedNodeCollection
  },
  delete_menu_item,
]

shannon_fano_dropdown_menu = [
  tidy_menu_item,
  {
    name: 'automatic Shannon-Fano step',
    action: (c, t) ->
