Currently MAX_TIME_CHARS is hardcoded to 6000. This makes it sometimes cause 'Error: Too many #time calls' for no good reason. In TDF wiki this can currently be seen here thanks to this template.
I found an older discussion thread about the issue pointing to the root of the problem.