A reliable algorithm for computing the generalized voronoi diagram for a set of spheres in the euclidean d-dimensional space