fixed logic in VoxelData::addPoint