generate empty function tables of proper size