bug with zero size tree