Created a ConditionTree that boosts performance