Remove race in PutVoxels and simplify that code