porting to Linux
better
valgrinding
test now pass with new arec/register