Balancing tree sort of working.