private void createTerrain(double zoom){
		int octaves = 2;
		for(int z = 0; z < chunkWidth; z++) {
			for(int x = 0; x < chunkWidth; x++) {
				double getnoise = 0;
				for(int a = 0; a < octaves - 1; a++){
					double frequency = Math.pow(1, a);
					getnoise += octave.noise(((double)x) * frequency / zoom,((double)z) / zoom * frequency);
				}
				int color = (int)((getnoise * 128.0) + 128.0);
				if(color > 255)
					color = 255;
				if(color <= 0)
					color = 1;
				
				int y = (int)(((float)chunkWidth / 16.0f) * (float)color) / chunkWidth;
				
				addXZ(x, y, z);
			}
		}
	}