generate size.c using erb.