init newLimit variable to 0 to fix crash on windows