add .trace extension for temporary trace files
change structure of iid table