Hi Geert, thank you for the review! > if (!res) > return NULL; I applied the 'single exit' paradigm, but your solution is a bit easier to understand, I think. Will send v3 soon. Happy hacking, Wolfram