keep long $KGEN