removal of old complexity tree code