# Strange behavior where inside cluster doesn't match outside

**URL:** <https://discourse.mcneel.com/t/strange-behavior-where-inside-cluster-doesnt-match-outside/198617>\
**Category:** Grasshopper\
**Tags:** windows, rhino-8\
**Created:** [January 28, 2025, 5:48pm UTC](https://discourse.mcneel.com/t/strange-behavior-where-inside-cluster-doesnt-match-outside/198617 "2025-01-28T17:48:40Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![cfee](https://sea3.discourse-cdn.com/mcneel/user_avatar/discourse.mcneel.com/cfee/32/649102_2.png) [@cfee](https://discourse.mcneel.com/u/cfee)\
**Post date:** [January 28, 2025, 5:48pm UTC](https://discourse.mcneel.com/t/strange-behavior-where-inside-cluster-doesnt-match-outside/198617/1 "2025-01-28T17:48:40Z")

</div>

can someone reproduce this weird behavior, where inside cluster all is ok, but collapsed it seems to have a mind of it’s own ?  
I already restarted rhino, but behavior keeps occuring. No other gh file open in the background. I attached a simplified model  
[clusterf-ck.gh](https://discourse.mcneel.com/uploads/short-url/6vTrcLlzz6ZGyquBFZogOasERSc.gh) (29.9 KB)

 ![Screenshot 2025-01-28 184453](https://global.discourse-cdn.com/mcneel/uploads/default/original/4X/c/3/1/c3155b76ad5bfa1816117a49b228d99f905e6de2.png)  
 ![Screenshot 2025-01-28 184526](https://global.discourse-cdn.com/mcneel/uploads/default/original/4X/5/8/3/583cfa71ad2196bc749e90e5aede18164b563d64.png)

---

<div class="post-metadata">

**Author:** ![Toni\_Osterlund](https://sea3.discourse-cdn.com/mcneel/user_avatar/discourse.mcneel.com/toni_osterlund/32/762021_2.png) [@Toni\_Osterlund](https://discourse.mcneel.com/u/Toni_Osterlund)\
**Post date:** [January 28, 2025, 6:09pm UTC](https://discourse.mcneel.com/t/strange-behavior-where-inside-cluster-doesnt-match-outside/198617/2 "2025-01-28T18:09:09Z")

</div>

This is due to the fact that a cluster processes empty branches differently. You can bypass this behavior by flattening the inputs, or matching the tree structure of both inputs.

There’s a few posts on this forum about this oddity.

---

<div class="post-metadata">

**Author:** ![cfee](https://sea3.discourse-cdn.com/mcneel/user_avatar/discourse.mcneel.com/cfee/32/649102_2.png) [@cfee](https://discourse.mcneel.com/u/cfee)\
**Post date:** [January 28, 2025, 6:39pm UTC](https://discourse.mcneel.com/t/strange-behavior-where-inside-cluster-doesnt-match-outside/198617/3 "2025-01-28T18:39:50Z")

</div>

I should have know this 🫢 It was staring me in the face … now i know why i never use clusters, as everytime i try something unexpected pops up

---

<div class="post-metadata">

**Author:** ![Joseph\_Oster](https://sea3.discourse-cdn.com/mcneel/user_avatar/discourse.mcneel.com/joseph_oster/32/549124_2.png) [@Joseph\_Oster](https://discourse.mcneel.com/u/Joseph_Oster)\
**Post date:** [January 28, 2025, 7:28pm UTC](https://discourse.mcneel.com/t/strange-behavior-where-inside-cluster-doesnt-match-outside/198617/4 "2025-01-28T19:28:43Z")

</div>

> [@Toni\_Osterlund](#):
>
> There’s a few posts on this forum about this oddity.

Here is one of them?

> [@Cluster tree bugs in R7](https://discourse.mcneel.com/t/cluster-tree-bugs-in-r7/189148):
>
> This must be a very old bug since it’s in R7. Beyond frustrating bangbang I have a tree where the last branch is empty. Outside the cluster, all three outputs of TStat (Tree Statistics) show the empty branch. [cluster\_trees\_2024Aug6a] [cluster\_trees\_2024Aug6a.gh](https://discourse.mcneel.com/uploads/short-url/vGQFI0jDWYW0mYXgwljM18QPOyX.gh) (9.6 KB) Inside the cluster, TStat does not show the empty branch. In addition, the cluster output is visible inside but not outside interrobang interrobang Shoddy work and a waste of time. frowning_face [cluster\_trees\_20…
