generate list from iter