public void Execute(int i) { Utils.IndexDeflattenizer2D(i, TotalBlockNumberX, out int x, out int z); Result[i] = TerrainGenerator.CalculateHeights_NoiseFunction(Seed, x, z); }