 
 		rewind(hhFile);
 		rewind(popFile);
-		if(NULL == (fgets(hhLine, 4000, hhFile)))
+		if(NULL == (fgets(hhLine, LINESIZE, hhFile)))
 		{
 			printf("ERROR: Corrupted household file at line 1.\n");
 			return false;
 		} 
-		if(NULL == (fgets(popLine, 4000, popFile)))
+		if(NULL == (fgets(popLine, LINESIZE, popFile)))
 		{
 			printf("ERROR: Corrupted population file at line 1.\n");
 			return false;

/*	
	Contributors: Yizhao Gao (yizhaotsccsj@gmail.com)
*/

#include <stdio.h>
#include <string.h>

		}

		rewind(file);
		if(NULL == (fgets(line, LINESIZE, file)))
		{
			printf("ERROR: Corrupted household file at line 1.\n");
			return false;
