Remove min() for Dbest, because new looping pattern already implies that
factor out all testing for L2 >= L1 to beginning