@tarruda I'm no fan of static function-local variables. Non-thread-safety is one of the problems. I suggest to leave it as is. With better memory handling we can allocate it dynamically in later refactorings.