Improved stack management. Moved extension of native array inside the main closure. Updated min file.