Added code to find discriminators against the tree