Gitlab has been updated. More info here and there.
We avoid multiple conversions to rad of the same value, in the loop on edges, since a segment can be head or tail of several edges.