code: private static int calcMismatch(AFP afp1, AFP afp2)
  	{
  		int     l1 = afp1.getP1() - afp2.getP1() - afp2.getFragLen();
  		int     l2 = afp1.getP2() - afp2.getP2() - afp2.getFragLen();
  		return (l1 > l2?l2:l1);
  	}
docs: --------------------------------------------