Making each fin in a variable facade the same size

crv.3dm (3.5 MB) (41.1 KB)

I created this code to make variable facade within any curve, however, I cannot get the aperture blades to be the same size. Is there any way to change the code such that it works like a real aperture blade instead?