           continue
 
   randomizeDecorations: (preset, presetSize)->
-    if presetSize is presetSizes['small'] then sizeFactor = 1 else sizeFactor = 2
     for name, decoration of preset.decorations
-      for num in _.range(sizeFactor * _.random(decoration.num[0], decoration.num[1]))
+      for num in _.range(presetSize.sizeFactor * _.random(decoration.num[0], decoration.num[1]))
         if @['build'+name] isnt undefined
           @['build'+name](preset, presetSize, decoration)
           continue

    'borders':'trees'
    'borderNoise':1
    'borderSize':0
    'floors':'grass_floor'
    'decorations': {
      'house': {

  'small': {
    'x':80
    'y':68
    'sizeFactor':1
  }
  'large': {
    'x':160
    'y':136
    'sizeFactor':2
  }
}

