an interesting idea -- I'll have to poke at it. I've been moving away from original form over the years (clm-3 moved generator allocation into C, for example, and uses clm.c for all the generator innards). It's been so long now, that I can't remember why definstrument passes everything in int and double arrays.