A Parallel Algorithm for Construction of Uniform Grids