* use single variable instead of vector in c functions * expert count kernel * remove all lists * fix old tests