fix voxel size check