Fix voxel functions