migrate LinearMap<T, ()> to LinearSet<T>