 			{
 				for(int i = 0; i < persons; i++)
 				{
-					if(NULL == (fgets(popLine, 4000, popFile)))
+					if(NULL == (fgets(popLine, LINESIZE, popFile)))
 					{
 						printf("ERROR: Corrupted population file at line %d\n", popLineCount);
 						return false;


	int numHHAtt;
	
	char hhLine[4000];
	char popLine[4000];

	popCount = 0;
	pNCase = 0;


				for(int i = 0; i < persons; i++)
				{
					if(NULL == (fgets(popLine, LINESIZE, popFile)))
					{
						printf("ERROR: Corrupted population file at line %d.\n", popLineCount);
						return false;
