A messy ArcLengthFunction calculator