try autoAdapt in libefgy