The latter is also possible, but the former is a more natural form of Collapsing Duplicate Combinations since it is a form of placing a variable ball on a fixed frame.
This page is auto-translated from /nishio/äøåŗå®ć®äŗé äæę°āéč¤ēµåć using DeepL. If you looks something interesting but the auto-translated English is not good enough to understand it, feel free to let me know at @nishio_en. Iām very happy to spread my thought to non-Japanese readers.