split lasso_bigmem() and lasso_smallmem()