AndOrTree dirty implemented