I created a simple castle and I need to create a battlement on top of it.
[![enter image description here][1]][1] 
How can I do it with geometry nodes? I thought about creating a simple cube with bevel and use it with Instance on points, but result is not so good(
[![enter image description here][2]][2]
P.S. I need battlement only for facade, so I didn't created additional vertices for back side.

  [1]: https://i.sstatic.net/tthWj.png
  [2]: https://i.sstatic.net/BLoTw.png