trial to reproduce problem from Johan Mazel (code from him)