Create lengfact.c