private int calcSize(String name, String desc, Output output) {
		int out = 0;
		out += 2;
		out += name.length();
		out += 2;
		out += 4;
		out += 4;
		out += 1;
		out += desc.length();
		out += 2;
		for (Tile tile : output.getTilesArray().values()) {
			out += 5;
			if (compression) {
				if (!(tile.floor == 1 && tile.biome == Biomes.MODERATE && tile.tile == Tiles.GRASS)) {
					out += 3;
				}
			} else out += 3;
		}
		return out;
	}