improved program for creating balanced panel
started state by state exploration