Improved voxelizer