handle varInts better