2720 IF JJ(1)>0 AND NF<NXM THEN NF=NXM : NX=NXM