Solved a few bugs with voxelization