Please, never use my codes without checking twice (at least)!... https://freakonometrics.hypotheses.org/9307