recursive minbuf