The solution is provided by @JBenghiat here .