adapt fia to multi-proc