Switched from TSC to CIC assignment function (less accurate, but faster)