N, N*N +
                         MAX(N*N + N*MAX(N,L) + 6*N + MIN(N,L),
                             N*M));
          LW2 = LW3 = 0, if INIT = 'L' or 'N'; otherwise,
          LW2 = NSMP*L +
                MAX( 5, NSMP + 2*BSN + NSMP*BSN +
                        MAX( 2*NN + BSN, LDW7 ) );
              LDW7 = BSN*BSN,       if ALG = 'D' and STOR = 'F';
              LDW7 = BSN*(BSN+1)/2, if ALG = 'D' and STOR = 'P';
              LDW7 = 3*BSN + NSMP,  if ALG = 'I';
          LW3 = MAX( LDW8, NSMP*L + (N+