Centroidal 3d voronoi

Hello everyone. I was wondering if anyone can recommend me a method to get a centroidal voronoi pero in 3d? I tried the LLoyd s algorithm but after a few iterations the cells tend to disappear. thank you