[Issue #191] first step, deal with integer

+ set default trail env. to FLAT (faster)