Fix f.size bug. TODO: clean up the mess with size (funcs, bun)