Restructured voxel generation a bit.