Redundant condition removed from cutTree algorithm