Kompakt træ for Hans Andreas Smith