HELP! Rectangle creating a weird curvy ends? and how do we make a random cut edges for all timber sticks?

UPDATE-NEW.gh (105.3 KB)
I attached the GH file. We couldn’t find the reason why it’s creating the curvy ends. And we’re trying to make all the timber sticks edge cutting randomly and trim the end to make a flat base.


UPDATE!!

We fixed the edgy curves… now we’re trying to figure out how to cut all the sticks randomly meaning the sticks having different lengths and trim the base. Below the new attached file.

Brown_Daniels_Iman_Mountain_Halley_KDA245_AT2_04.gh (288.2 KB)