1020 X=2*NFM : IF NCM>X THEN X=NCM