Force tree to be integers. (TESS gives doubles; causes bug).